package com.qingfeng.client.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author  zhangyuefei
 * @date  2020/5/6 11:02 上午
 * @version 1.0
 */
@ApiModel(value="com.qingfeng.client.bean.PostageAddress")
@Data
@TableName(value = "postage_address")
public class PostageAddress {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value="主键")
    private Integer id;

    /**
     * 地址code
     */
    @TableField(value = "code")
    @ApiModelProperty(value="地址code")
    private Integer code;

    /**
     * 地址名称
     */
    @TableField(value = "address")
    @ApiModelProperty(value="地址名称")
    private String address;

    /**
     * 计算模版id
     */
    @TableField(value = "template_id")
    @ApiModelProperty(value="计算模版id")
    private Integer templateId;

    /**
     * 店铺id
     */
    @TableField(value = "store_id")
    @ApiModelProperty(value="店铺id")
    private Integer storeId;
}